package com.jsu.springboot_crop.service;

import com.jsu.springboot_crop.entity.PurchaseDetail;
import com.jsu.springboot_crop.entity.ToEcharts;

import java.util.List;

/**
 * @Author Humura
 * @Date 2023/8/26 14:16
 * @Version 1.0
 */
public interface PurchaseDetailService {
    void add(PurchaseDetail purchaseDetail);

    List<PurchaseDetail> selectByPurchaseId(Integer purchaseId);

    //前5销售额
    List<ToEcharts> fivesalesvolumee();

    //前5销量
    List<ToEcharts> fivesalesvolumel();
}
